package com.dc.ebond3.dao;

import java.util.Date;

/**
 * TbAdmin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbAdmin implements java.io.Serializable {

	// Fields

	private Long id;
	private String adminname;
	private String password;
	private String alias;
	private String email;
	private String address;
	private String phone;
	private String department;
	private String zipcode;
	private Date createdate;
	private Long inuse;

	// Constructors

	/** default constructor */
	public TbAdmin() {
	}

	/** minimal constructor */
	public TbAdmin(String adminname, String password, String department,
			Date createdate) {
		this.adminname = adminname;
		this.password = password;
		this.department = department;
		this.createdate = createdate;
	}

	/** full constructor */
	public TbAdmin(String adminname, String password, String alias,
			String email, String address, String phone, String department,
			String zipcode, Date createdate, Long inuse) {
		this.adminname = adminname;
		this.password = password;
		this.alias = alias;
		this.email = email;
		this.address = address;
		this.phone = phone;
		this.department = department;
		this.zipcode = zipcode;
		this.createdate = createdate;
		this.inuse = inuse;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAdminname() {
		return this.adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAlias() {
		return this.alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getInuse() {
		return this.inuse;
	}

	public void setInuse(Long inuse) {
		this.inuse = inuse;
	}

}